#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
HTTP客户端模块

该模块提供了统一的HTTP请求接口，支持各种HTTP方法、自定义请求头、参数处理、
响应解析、错误处理、重试机制、会话管理等功能。

创建时间: 2023-07-15
作者: Python Tools Team
"""

from .http_client import HttpClient, HttpResponse, HttpMethod
from .request_builder import RequestBuilder
from .response_parser import ResponseParser
from .auth_handler import BasicAuth, TokenAuth, OAuth2Auth
from .retry_handler import RetryHandler
from .exception import HttpClientException, RequestException, ResponseException, TimeoutException

__all__ = [
    # 核心类
    'HttpClient',
    'HttpResponse',
    'HttpMethod',
    'RequestBuilder',
    'ResponseParser',
    
    # 认证处理
    'BasicAuth',
    'TokenAuth',
    'OAuth2Auth',
    
    # 重试机制
    'RetryHandler',
    
    # 异常类
    'HttpClientException',
    'RequestException',
    'ResponseException',
    'TimeoutException'
]